package com.company.project.configurer;

import com.company.project.redis.CaptchaRedis;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * 配置类基类
 *
 * @author chenx
 * @date 2016/5/12
 */
@Configuration
@EnableAsync
public class BaseConfig {


    /**
     *  配置
     */
    @Bean
    public CaptchaRedis reloginUserRedis() {
        return new CaptchaRedis();
    }
}
